package com.thinkgem.jeesite.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.sys.entity.SysOffice;

/**
 * @Author:Kongxiangsheng
 * @DesCription:
 * @Date:Created in 14:41 2018/8/14
 * @Modified By:
 */
@MyBatisDao
public interface SysOfficeMapper extends BaseMapper<SysOffice> {
    /**
     * 从传入的Ids中找出最细级别的公司
     *
     * @param ids
     * @return
     */
    SysOffice getLowestCompany(String[] ids);
}
